export interface Plan{

    planId:number,
    planName:string,
    planTypeId:number


}

export interface PlanType{
    planTypeId:number,
    planTypeName:string
}


//定义数组
export interface PlanTypeList {
    planTypes: PlanType[]; // 添加一个数组属性来存储 PlanType 对象
}

// 创建默认的 PlanTypeList 实例
const defaultPlanTypeList: PlanTypeList = {
    planTypes: [
        { planTypeId: 1, planTypeName: "入场安全培训" },
        { planTypeId: 2, planTypeName: "" },
        { planTypeId: 3, planTypeName: "类型3" },
        { planTypeId: 4, planTypeName: "类型4" },
        { planTypeId: 5, planTypeName: "类型5" },
        { planTypeId: 6, planTypeName: "类型6" },
        { planTypeId: 7, planTypeName: "类型7" },
        { planTypeId: 8, planTypeName: "类型8" },
    ]
};


